package com.mapper;

import com.github.pagehelper.PageInfo;
import com.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {

    @Select("select * from tb_user")
    List<User> findAll();

    @Select("select * from tb_user")
    List<User> findByPage();
}
